<!-- Begin Main Menu -->
<div class="ewMenu">
<?php $RootMenu = new cMenu(EW_MENUBAR_ID) ?>
<?php

// Generate all menu items
$RootMenu->IsRoot = TRUE;
$RootMenu->AddMenuItem(11, $Language->MenuPhrase("11", "MenuText"), "veh_vehiculoslist.php", -1, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(8, $Language->MenuPhrase("8", "MenuText"), "veh_proveedoreslist.php", -1, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(14, $Language->MenuPhrase("14", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(9, $Language->MenuPhrase("9", "MenuText"), "veh_tipolist.php", 14, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(6, $Language->MenuPhrase("6", "MenuText"), "veh_marcalist.php", 14, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(3, $Language->MenuPhrase("3", "MenuText"), "veh_combustiblelist.php", 14, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(16, $Language->MenuPhrase("16", "MenuText"), "veh_tipo_doclist.php", 14, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(25, $Language->MenuPhrase("25", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(18, $Language->MenuPhrase("18", "MenuText"), "veh_tipo_novedadlist.php", 25, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(17, $Language->MenuPhrase("17", "MenuText"), "veh_tipo_mantenimientolist.php?cmd=resetall", 25, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(50, $Language->MenuPhrase("50", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(28, $Language->MenuPhrase("28", "MenuText"), "veh_cubierta_dimensionlist.php", 50, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(27, $Language->MenuPhrase("27", "MenuText"), "veh_cubierta_modelolist.php", 50, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(5, $Language->MenuPhrase("5", "MenuText"), "veh_cubierta_ubicacionlist.php?cmd=resetall", 50, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(57, $Language->MenuPhrase("57", "MenuText"), "", -1, "", TRUE, FALSE, TRUE);
$RootMenu->AddMenuItem(51, $Language->MenuPhrase("51", "MenuText"), "veh_stock_marcalist.php", 57, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(52, $Language->MenuPhrase("52", "MenuText"), "veh_stock_rubrolist.php", 57, "", IsLoggedIn(), FALSE);
$RootMenu->AddMenuItem(-1, $Language->Phrase("Logout"), "logout.php", -1, "", IsLoggedIn());
$RootMenu->AddMenuItem(-1, $Language->Phrase("Login"), "login.php", -1, "", !IsLoggedIn() && substr(@$_SERVER["URL"], -1 * strlen("login.php")) <> "login.php");
$RootMenu->Render();
?>
</div>
<!-- End Main Menu -->
